#ifndef YOOHOO_XMPPCORE_TLSCALLBACK_H
#define YOOHOO_XMPPCORE_TLSCALLBACK_H

#include "xmppcore/peercertificateinfo.h"

namespace yoohoo_xmppcore {

class YOOHOO_XMPPCORE_EXPORT TlsCallback : public QObject {
	Q_OBJECT
public:
	virtual ~TlsCallback() {}

public slots:
	virtual void acceptPeerCertificate(PeerCertificateInfo* certInfo, bool* accepted) = 0;
};

}

#endif
